package com.mit.wx.wx.dto;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.List;

/**
 * 2018/10/12 Create by 郭文梁
 * WxNewItem
 * 微信图文消息项
 *
 * @author 郭文梁
 * @date 2018/10/12
 */
@Data
public class WxNewsItem {
    @JSONField(name = "media_id")
    private String mediaId;
    private NewsContent content;
}

/**
 * 2018/10/12 Create by 郭文梁
 * WxNewItem
 * 微信图文消息内容
 *
 * @author 郭文梁
 * @date 2018/10/12
 */
@Data
class NewsContent {
    @JSONField(name = "news_item")
    private List<WxNews> newsItem;
}